package com.easyAiAdmin.easyai.domain;

import com.easyAiAdmin.common.annotation.Excel;
import com.easyAiAdmin.common.core.domain.BaseEntity;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;

/**
 * 模型参数配置对象 model_config
 * 
 * @author easyAiAdmin
 * @date 2024-05-20
 */
public class ModelConfig extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 参数编码 */
    private Long configCode;

    /** 参数key */
    @Excel(name = "参数key")
    private String configKey;

    /** 参数值 */
    @Excel(name = "参数值")
    private String configValue;

    /** 模型类型 */
    @Excel(name = "模型类型")
    private String modelType;

    /** 状态（0正常 1停用） */
    @Excel(name = "状态", readConverterExp = "0=正常,1=停用")
    private String status;

    public String getConfigKey() {
        return configKey;
    }

    public void setConfigKey(String configKey) {
        this.configKey = configKey;
    }

    public void setConfigCode(Long configCode)
    {
        this.configCode = configCode;
    }

    public Long getConfigCode() 
    {
        return configCode;
    }
    public void setConfigValue(String configValue) 
    {
        this.configValue = configValue;
    }

    public String getConfigValue() 
    {
        return configValue;
    }
    public void setModelType(String modelType) 
    {
        this.modelType = modelType;
    }

    public String getModelType() 
    {
        return modelType;
    }
    public void setStatus(String status) 
    {
        this.status = status;
    }

    public String getStatus() 
    {
        return status;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this, ToStringStyle.MULTI_LINE_STYLE)
            .append("configCode", getConfigCode())
            .append("configKey", getConfigKey())
            .append("configValue", getConfigValue())
            .append("modelType", getModelType())
            .append("status", getStatus())
            .append("createBy", getCreateBy())
            .append("createTime", getCreateTime())
            .append("updateBy", getUpdateBy())
            .append("updateTime", getUpdateTime())
            .append("remark", getRemark())
            .toString();
    }
}
